<header class="header white-bg">
    <div class="sidebar-toggle-box">
        <div class="fa fa-bars tooltips" data-placement="right" data-original-title="Toggle Navigation"></div>
    </div>
    <!--logo start-->
    <a href="index.html" class="logo" style="width: 130px;"><span>{:config('web_name')}</span></a>
    <!--logo end-->
    <div class="nav notify-row" id="top_menu" style="margin-left: 35px;">
        <!--  notification start -->
        <ul class="nav top-menu">
        </ul>
        <!--  notification end -->
    </div>
    <div class="top-nav ">
        <!--search & user info start-->
        <ul class="nav pull-right top-menu">
            <!-- user login dropdown start-->
            <li class="dropdown">
                <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <img alt="" src="http://q1.qlogo.cn/g?b=qq&nk={$userInfo.qq}&s=160" width="29">
                    <span class="username">{$userInfo.user}</span>
                    <b class="caret"></b>
                </a>
                <ul class="dropdown-menu extended logout">
                    <div class="log-arrow-up"></div>
                    <li><a href="{:url('index')}"><i class="fa fa-home"></i> 管理后台</a></li>
                    <li><a href="{:url('index/panel/index')}"><i class=" fa fa-user"></i>用户面板</a></li>
                    <li><a href="{:url('index/Index/logout')}"
                           onclick="return confirm('确认退出登录？');"><i class="fa fa-key"></i> 注销登录</a></li>
                </ul>
            </li>
            <!-- user login dropdown end -->
        </ul>
        <!--search & user info end-->
    </div>
</header>